/*
 * XML Type:  EReference
 * Namespace: http://www.eclipse.org/emf/2002/Ecore
 * Java type: org.eclipse.emf.x2002.ecore.EReference
 *
 * Automatically generated - do not modify.
 */
package org.eclipse.emf.x2002.ecore;


/**
 * An XML EReference(@http://www.eclipse.org/emf/2002/Ecore).
 *
 * This is a complex type.
 */
public interface EReference extends org.eclipse.emf.x2002.ecore.EStructuralFeature
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(EReference.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sFBDCFB7615E0FAB3CF0394CF3AD1FE99").resolveHandle("ereference7c50type");
    
    /**
     * Gets the "containment" attribute
     */
    boolean getContainment();
    
    /**
     * Gets (as xml) the "containment" attribute
     */
    org.eclipse.emf.x2002.ecore.EBoolean xgetContainment();
    
    /**
     * True if has "containment" attribute
     */
    boolean isSetContainment();
    
    /**
     * Sets the "containment" attribute
     */
    void setContainment(boolean containment);
    
    /**
     * Sets (as xml) the "containment" attribute
     */
    void xsetContainment(org.eclipse.emf.x2002.ecore.EBoolean containment);
    
    /**
     * Unsets the "containment" attribute
     */
    void unsetContainment();
    
    /**
     * Gets the "container" attribute
     */
    boolean getContainer();
    
    /**
     * Gets (as xml) the "container" attribute
     */
    org.eclipse.emf.x2002.ecore.EBoolean xgetContainer();
    
    /**
     * True if has "container" attribute
     */
    boolean isSetContainer();
    
    /**
     * Sets the "container" attribute
     */
    void setContainer(boolean container);
    
    /**
     * Sets (as xml) the "container" attribute
     */
    void xsetContainer(org.eclipse.emf.x2002.ecore.EBoolean container);
    
    /**
     * Unsets the "container" attribute
     */
    void unsetContainer();
    
    /**
     * Gets the "resolveProxies" attribute
     */
    boolean getResolveProxies();
    
    /**
     * Gets (as xml) the "resolveProxies" attribute
     */
    org.eclipse.emf.x2002.ecore.EBoolean xgetResolveProxies();
    
    /**
     * True if has "resolveProxies" attribute
     */
    boolean isSetResolveProxies();
    
    /**
     * Sets the "resolveProxies" attribute
     */
    void setResolveProxies(boolean resolveProxies);
    
    /**
     * Sets (as xml) the "resolveProxies" attribute
     */
    void xsetResolveProxies(org.eclipse.emf.x2002.ecore.EBoolean resolveProxies);
    
    /**
     * Unsets the "resolveProxies" attribute
     */
    void unsetResolveProxies();
    
    /**
     * Gets the "eOpposite" attribute
     */
    java.lang.String getEOpposite();
    
    /**
     * Gets (as xml) the "eOpposite" attribute
     */
    org.apache.xmlbeans.XmlAnyURI xgetEOpposite();
    
    /**
     * True if has "eOpposite" attribute
     */
    boolean isSetEOpposite();
    
    /**
     * Sets the "eOpposite" attribute
     */
    void setEOpposite(java.lang.String eOpposite);
    
    /**
     * Sets (as xml) the "eOpposite" attribute
     */
    void xsetEOpposite(org.apache.xmlbeans.XmlAnyURI eOpposite);
    
    /**
     * Unsets the "eOpposite" attribute
     */
    void unsetEOpposite();
    
    /**
     * Gets the "eReferenceType" attribute
     */
    java.lang.String getEReferenceType();
    
    /**
     * Gets (as xml) the "eReferenceType" attribute
     */
    org.apache.xmlbeans.XmlAnyURI xgetEReferenceType();
    
    /**
     * True if has "eReferenceType" attribute
     */
    boolean isSetEReferenceType();
    
    /**
     * Sets the "eReferenceType" attribute
     */
    void setEReferenceType(java.lang.String eReferenceType);
    
    /**
     * Sets (as xml) the "eReferenceType" attribute
     */
    void xsetEReferenceType(org.apache.xmlbeans.XmlAnyURI eReferenceType);
    
    /**
     * Unsets the "eReferenceType" attribute
     */
    void unsetEReferenceType();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static org.eclipse.emf.x2002.ecore.EReference newInstance() {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EReference newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static org.eclipse.emf.x2002.ecore.EReference parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EReference parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static org.eclipse.emf.x2002.ecore.EReference parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EReference parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.EReference parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EReference parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.EReference parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EReference parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.EReference parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EReference parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.EReference parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EReference parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.EReference parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EReference parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.eclipse.emf.x2002.ecore.EReference parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.eclipse.emf.x2002.ecore.EReference parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.eclipse.emf.x2002.ecore.EReference) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
